import request from '@/utils/request'
//获取属性列表数据
export function reqAttrlist(params) {
  const {category1Id,category2Id,category3Id} = params
  return request({
    url: `/admin/product/attrInfoList/${category1Id}/${category2Id}/${category3Id}`,
    method: 'get',
  })
}

//删除属性
export function reqDelAttr(id) {
  return request({
    url: `/admin/product/deleteAttr/${id}`,
    method: 'delete',
  })
}

